package com.example.gulimall.cart.web.service;

import com.example.common.vo.cart.CartItemVo;
import org.springframework.ui.Model;

import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author zyred
 * @since v 0.1
 **/
public interface CartService {

    String cartList(Model model);

    String addItem(Long skuId, int num);

    String getItem(Long skuId, Model model);

    String checkItem(Long skuId, boolean checked, Model model);

    List<CartItemVo> getCurrentUserItem(Long userId);
}
